/*
 * Copyright [duowan.com]
 * Web Site: http://www.duowan.com
 * Since 2005 - 2014
 */

package com.duowan.realtime.dao;

import java.util.List;

import com.duowan.common.util.page.Page;
import com.duowan.realtime.model.BloomfilterGroup;
import com.duowan.realtime.query.BloomfilterGroupQuery;

/**
 * tableName: bloomfilter_group
 * [BloomfilterGroup] 的Dao操作
 * 
 * @author badqiu email:badqiu(a)gmail.com
 * @version 1.0
 * @since 1.0
*/
public interface BloomfilterGroupDao {
	
	public void insert(BloomfilterGroup entity);
	
	public int update(BloomfilterGroup entity);

	public int deleteById(int id);
	
	public BloomfilterGroup getById(int id);
	

	public Page<BloomfilterGroup> findPage(BloomfilterGroupQuery query);	
	
	/**
	 * 查询所有Bloomfilter Group
	 * @return
	 */
    public List<BloomfilterGroup> getAll();
    
    public boolean checkBloomFilterExists(String bloomfilterGroup);
    
    public BloomfilterGroup getByBloomfilterGroup(String bloomfilterGroup);
    
    public List<BloomfilterGroup> getMetaDatas();
}
